#define _CRT_SECURE_NO_WARNINGS
#include "List.h"

test1()
{
	LTNode* list=LTInit();
	LTPushBack(list, 1);
	LTPushBack(list, 2);
	LTPushBack(list, 3);
	LTPushBack(list, 4);
	LTPushBack(list, 5);
	LTPrint(list);
	list=LTPopFront(list);
	LTPrint(list);
	LTPopBack(list);
	LTPrint(list);
	
	LTPushFront(list, 6);
	LTPrint(list);
	LTNode* pos = LTFind(list, 4);
	LTInsert(pos, 7);
	LTPrint(list);
	LTErase(pos);
	LTPrint(list);
	LTDestory(list);
	LTPrint(list);

}

int main()
{
	test1();



	return 0;
}